//
//  TaskCalendar.swift
//  VenusTodo
//
//  Created by 文显庆 on 2021/10/23.
//

//工具，用于将UIViewController转换为UIView

import SwiftUI
import CVCalendar

struct TaskCalendar: UIViewControllerRepresentable {
    func makeUIViewController(context: Context) -> CalendarViewController {
            let controller = CalendarViewController()
            return controller
        }
        
        // Tbh no idea what to do here
        func updateUIViewController(_ uiViewController: CalendarViewController, context: Context) {

        }
}

/*
struct TaskCalendar_Previews: PreviewProvider {
    static var previews: some View {
        TaskCalendar(Tasks: Things)
    }
}
*/
